import 'package:bilibili_getx_project/ui/shared/app_theme.dart';
import 'package:flutter/services.dart';

class SystemUiOverlayStyleUtil {
  ///主题色
  static setMainThemeSystemUiOverlayStyle() {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
      statusBarIconBrightness: Brightness.light,
      statusBarColor: AppTheme.norMainThemeColor,
    ));
  }

  ///白色
  static setWhiteSystemUiOverlayStyle() {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
      statusBarIconBrightness: Brightness.dark,
      statusBarColor: AppTheme.norWhite,
    ));
  }
}
